package com.chinairi.mall.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author gsl
 * @since 2020-11-02
 */
@TableName("ORDER_SERVICE_TRANSPORT")
public class OrderServiceTransport extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 配送服务订单编号
     */
    @TableId("OST_ID")
    private String ostId;

    /**
     * 配送服务订单名称
     */
    @TableField("OST_NAME")
    private String ostName;

    /**
     * 实物订单表主键
     */
    @TableField("ORDER_ID")
    private String orderId;

    /**
     * 店铺ID
     */
    @TableField("OST_SHOP_ID")
    private String ostShopId;

    /**
     * 订单状态
     */
    @TableField("OST_STATE")
    private String ostState;
    /**
     * 订单状态
     */
    @TableField(exist = false)
    private String ostStateLabel;

    /**
     * 预计订单服务金额
     */
    @TableField("OST_ESTIMATE_MONEY")
    private BigDecimal ostEstimateMoney;

    /**
     * 订单服务金额
     */
    @TableField("OST_MONEY")
    private BigDecimal ostMoney;

    /**
     * 应收服务金额
     */
    @TableField("OST_COLLECT_SERVICE_MONEY")
    private BigDecimal ostCollectServiceMoney;

    /**
     * 实付服务金额
     */
    @TableField("OST_PAY_SERVICE_MONEY_REAL")
    private BigDecimal ostPayServiceMoneyReal;

    /**
     * 承运商地址
     */
    @TableField("CARRIAGE_ADDRESS")
    private String carriageAddress;

    /**
     * 应付服务金额
     */
    @TableField("OST_PAY_SERVICE_MONEY")
    private BigDecimal ostPayServiceMoney;

    /**
     * 实收服务金额
     */
    @TableField("OST_COLLECT_SERVICE_MONEY_REAL")
    private BigDecimal ostCollectServiceMoneyReal;

    /**
     * 承运单位
     */
    @TableField("OST_TRANSPORT_UNIT")
    private String ostTransportUnit;

    /**
     * 收货联系人
     */
    @TableField("OST_CONTRACT_MAN")
    private String ostContractMan;

    /**
     * 联系方式
     */
    @TableField("OST_CONTRACT_MAN_PHONE")
    private String ostContractManPhone;

    /**
     * 收货地址
     */
    @TableField("OST_CONTRACT_ADDRESS")
    private String ostContractAddress;

    /**
     * 承运类型
     */
    @TableField("OST_TRANSPORT_TYPE")
    private String ostTransportType;

    /**
     * 标志位。采购0，领料1
     */
    @TableField("OST_FLAG")
    private String ostFlag;

    /**
     * 下单人ID
     */
    @TableField("CREATE_USER_ID")
    private String createUserId;

    /**
     * 订单创建人
     */
    @TableField("CREATE_USER")
    private String createUser;

    /**
     * 联系方式
     */
    @TableField("CREATE_USER_PHONE")
    private String createUserPhone;

    /**
     * 订单创建时间
     */
    @TableField("CREATE_TIME")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 修改人
     */
    @TableField("UPDATE_USER")
    private String updateUser;

    /**
     * 修改时间
     */
    @TableField("UPDATE_TIME")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    /**
     * 审批人
     */
    @TableField("APPROVE_USER")
    private String approveUser;

    /**
     * 审批时间
     */
    @TableField("APPROVE_TIME")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date approveTime;

    /**
     * 审核状态
     */
    @TableField("APPROVE_STATUS")
    private String approveStatus;

    /**
     * 机构代码
     */
    @TableField("ORG_CODE")
    private String orgCode;

    public String getOstId() {
        return ostId;
    }

    public void setOstId(String ostId) {
        this.ostId = ostId;
    }
    public String getOstName() {
        return ostName;
    }

    public void setOstName(String ostName) {
        this.ostName = ostName;
    }
    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
    public String getOstShopId() {
        return ostShopId;
    }

    public void setOstShopId(String ostShopId) {
        this.ostShopId = ostShopId;
    }
    public String getOstState() {
        return ostState;
    }

    public void setOstState(String ostState) {
        this.ostState = ostState;
    }
    public BigDecimal getOstEstimateMoney() {
        return ostEstimateMoney;
    }

    public void setOstEstimateMoney(BigDecimal ostEstimateMoney) {
        this.ostEstimateMoney = ostEstimateMoney;
    }
    public BigDecimal getOstMoney() {
        return ostMoney;
    }

    public String getOstStateLabel() {
        return ostStateLabel;
    }

    public void setOstStateLabel(String ostStateLabel) {
        this.ostStateLabel = ostStateLabel;
    }

    public void setOstMoney(BigDecimal ostMoney) {
        this.ostMoney = ostMoney;
    }
    public BigDecimal getOstCollectServiceMoney() {
        return ostCollectServiceMoney;
    }

    public void setOstCollectServiceMoney(BigDecimal ostCollectServiceMoney) {
        this.ostCollectServiceMoney = ostCollectServiceMoney;
    }
    public BigDecimal getOstPayServiceMoneyReal() {
        return ostPayServiceMoneyReal;
    }

    public void setOstPayServiceMoneyReal(BigDecimal ostPayServiceMoneyReal) {
        this.ostPayServiceMoneyReal = ostPayServiceMoneyReal;
    }
    public BigDecimal getOstPayServiceMoney() {
        return ostPayServiceMoney;
    }

    public void setOstPayServiceMoney(BigDecimal ostPayServiceMoney) {
        this.ostPayServiceMoney = ostPayServiceMoney;
    }
    public BigDecimal getOstCollectServiceMoneyReal() {
        return ostCollectServiceMoneyReal;
    }

    public void setOstCollectServiceMoneyReal(BigDecimal ostCollectServiceMoneyReal) {
        this.ostCollectServiceMoneyReal = ostCollectServiceMoneyReal;
    }
    public String getOstTransportUnit() {
        return ostTransportUnit;
    }

    public void setOstTransportUnit(String ostTransportUnit) {
        this.ostTransportUnit = ostTransportUnit;
    }
    public String getOstContractMan() {
        return ostContractMan;
    }

    public void setOstContractMan(String ostContractMan) {
        this.ostContractMan = ostContractMan;
    }
    public String getOstContractManPhone() {
        return ostContractManPhone;
    }

    public void setOstContractManPhone(String ostContractManPhone) {
        this.ostContractManPhone = ostContractManPhone;
    }
    public String getOstContractAddress() {
        return ostContractAddress;
    }

    public void setOstContractAddress(String ostContractAddress) {
        this.ostContractAddress = ostContractAddress;
    }
    public String getOstTransportType() {
        return ostTransportType;
    }

    public void setOstTransportType(String ostTransportType) {
        this.ostTransportType = ostTransportType;
    }
    public String getOstFlag() {
        return ostFlag;
    }

    public void setOstFlag(String ostFlag) {
        this.ostFlag = ostFlag;
    }
    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    public String getCreateUserPhone() {
        return createUserPhone;
    }

    public void setCreateUserPhone(String createUserPhone) {
        this.createUserPhone = createUserPhone;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public String getApproveUser() {
        return approveUser;
    }

    public void setApproveUser(String approveUser) {
        this.approveUser = approveUser;
    }
    public Date getApproveTime() {
        return approveTime;
    }

    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }
    public String getApproveStatus() {
        return approveStatus;
    }

    public void setApproveStatus(String approveStatus) {
        this.approveStatus = approveStatus;
    }
    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getCarriageAddress() {
        return carriageAddress;
    }

    public void setCarriageAddress(String carriageAddress) {
        this.carriageAddress = carriageAddress;
    }

    @Override
    public String toString() {
        return "OrderServiceTransport{" +
                "ostId='" + ostId + '\'' +
                ", ostName='" + ostName + '\'' +
                ", orderId='" + orderId + '\'' +
                ", ostShopId='" + ostShopId + '\'' +
                ", ostState='" + ostState + '\'' +
                ", ostStateLabel='" + ostStateLabel + '\'' +
                ", ostEstimateMoney=" + ostEstimateMoney +
                ", ostMoney=" + ostMoney +
                ", ostCollectServiceMoney=" + ostCollectServiceMoney +
                ", ostPayServiceMoneyReal=" + ostPayServiceMoneyReal +
                ", carriageAddress='" + carriageAddress + '\'' +
                ", ostPayServiceMoney=" + ostPayServiceMoney +
                ", ostCollectServiceMoneyReal=" + ostCollectServiceMoneyReal +
                ", ostTransportUnit='" + ostTransportUnit + '\'' +
                ", ostContractMan='" + ostContractMan + '\'' +
                ", ostContractManPhone='" + ostContractManPhone + '\'' +
                ", ostContractAddress='" + ostContractAddress + '\'' +
                ", ostTransportType='" + ostTransportType + '\'' +
                ", ostFlag='" + ostFlag + '\'' +
                ", createUserId='" + createUserId + '\'' +
                ", createUser='" + createUser + '\'' +
                ", createUserPhone='" + createUserPhone + '\'' +
                ", createTime=" + createTime +
                ", updateUser='" + updateUser + '\'' +
                ", updateTime=" + updateTime +
                ", approveUser='" + approveUser + '\'' +
                ", approveTime=" + approveTime +
                ", approveStatus='" + approveStatus + '\'' +
                ", orgCode='" + orgCode + '\'' +
                '}';
    }
}
